package cn.how2go.api.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author LGP
 * @since 2020-05-31
 */
public class Position implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.UUID)
    private String id;
    private Double lon;
    private Double lat;
    private Double alt;
    private Double height;
    private Double lon2;
    private Double lat2;
    @TableField("RecordTime")
    private Date RecordTime;
    @TableField("Device")
    private String Device;

    public Double getHeight() {
        return height;
    }

    public void setHeight(Double height) {
        this.height = height;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Double getLon() {
        return lon;
    }

    public void setLon(Double lon) {
        this.lon = lon;
    }

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public Double getAlt() {
        return alt;
    }

    public void setAlt(Double alt) {
        this.alt = alt;
    }

    public Double getLon2() {
        return lon2;
    }

    public void setLon2(Double lon2) {
        this.lon2 = lon2;
    }

    public Double getLat2() {
        return lat2;
    }

    public void setLat2(Double lat2) {
        this.lat2 = lat2;
    }

    public Date getRecordTime() {
        return RecordTime;
    }

    public void setRecordTime(Date RecordTime) {
        this.RecordTime = RecordTime;
    }

    public String getDevice() {
        return Device;
    }

    public void setDevice(String Device) {
        this.Device = Device;
    }

    @Override
    public String toString() {
        return "Position{" +
        ", id=" + id +
        ", lon=" + lon +
        ", lat=" + lat +
        ", lon2=" + lon2 +
        ", lat2=" + lat2 +
        ", RecordTime=" + RecordTime +
        ", Device=" + Device +
        "}";
    }
}
